// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

import excel from './config/excel';
import ElementUI from 'element-ui';
//import ECharts from 'vue-echarts/components/ECharts.vue'


import './assets/global.css'
import 'element-ui/lib/theme-chalk/index.css';

import 'element-ui/lib/theme-chalk/display.css';

// 手动引入 ECharts 各模块来减小打包体积
// import 'echarts/lib/chart/bar'
// import 'echarts/lib/chart/line'
// import 'echarts/lib/component/tooltip'
// import 'echarts/lib/component/polar'


Vue.use(ElementUI);
Vue.use(excel);

// 注册组件后即可使用
//Vue.component('v-chart', ECharts)

//Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
